//
//
//  HNurseAssessDetailTableViewCell.h
//

#import "HNurseAssessDetailTableViewCell.h"

@implementation HNurseAssessDetailTableViewCell


-(instancetype) initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        // 初始化子视图
        [self initLayout];
    }
    return self;
}

- (void)initLayout
{
    self.theItemCodeName2Label = [[UILabel alloc] initWithFrame:CGRectMake(16, 10, ScreenWidth-16-16-40, 30)];
    self.theItemSwitch = [[UISwitch alloc] initWithFrame:CGRectMake(ScreenWidth-16-40, 10, 30, 20)];
    
//    [self.contentView addSubview:self.theItemLabel];
    [self.contentView addSubview:self.theItemSwitch];
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

}

@end
